import {Component, OnInit} from '@angular/core';
import {EntityService} from '../../shared/services/entity.service';
import {RoleService} from '../service/role.service';

@Component({
  selector: 'app-role-index',
  template: `<app-base-index></app-base-index>`,
  providers: [ { provide: EntityService, useClass: RoleService } ]
})
export class RoleIndexComponent implements OnInit {
  constructor(
    private thisService: EntityService
  ) {
  }
  ngOnInit() {
    console.log(this.thisService.test);
  }
}
